Skip to content

Cli optional#21

Open
abusch wants to merge 3 commits intorust-iso:mainfrom
abusch:cli_optional
Open

Cli optional#21
abusch wants to merge 3 commits intorust-iso:mainfrom
abusch:cli_optional

Conversation

@abusch
Copy link

@abusch abusch commented Mar 12, 2026

This is one way of solving #14. Since the binary is just called main, I suspect it's not really installed by people as a standalone CLI, and used more for testing purposes, so I just put it behind a "cli" cargo feature.

abusch added 2 commits March 12, 2026 17:34
Move the binary behind a "cli" cargo feature, so you need to do `cargo
run --feature cli` to run it now. This allows the library itself to not
pull in the `prettytable-rs` dependency.
@abusch
Copy link
Author

abusch commented Mar 12, 2026

Note: this is based off #20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant